#ifndef __DS1302__H__
#define __DS1302__H__

extern unsigned char DS1302_Time[];//声明数组，main函数可调用
//数组和函数可以不加extern，变量必须加

void DS1302_Init();
void DS1302_WriteByte(unsigned char Command,Data);
unsigned char DS1302_ReadByte(unsigned char Command);
void DS1302_SetTime();
void DS1302_ReadTime();


#endif